<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{$name}</title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
    <meta name="apple-touch-fullscreen" content="YES">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>

    <!--<link rel="stylesheet" type="text/css" href="style/base.css">-->
    <link rel="stylesheet" type="text/css" href="/Public/css/RedPacket/base.css">

    <!--<link rel="stylesheet/less" type="text/css" href="style/redpacket.less">-->
    <link rel="stylesheet" type="text/css" href="/Public/css/RedPacket/redpacket.css">

    <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>

    <style>
        body, canvas, div {
            -moz-user-select: none;
            -webkit-user-select: none;
            -ms-user-select: none;
            -khtml-user-select: none;
            -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        }
    </style>
</head>
<body>
    <div class="rule-wrapper none">
        <div class="rule-card-wrapper">
            <div class="rule-card">
                <div class="rule-text">
                    <!-- <p><b>活动时间:</b></p>
                    <p id="rule-game-date">2016年11月12日~2016年02月08日</p>
                    <br>
                    <p><b>活动说明:</b></p>
                    <p>1、游戏开始<span class="ico-redpacket sprite"></span>会飞落下来，点击红包有一定几率会是奖品，也有可能什么都没<span class="ico-cloud sprite"></span>，但千万不要点到<span class="ico-bomb sprite"></span>游戏会直接结束。</p>
                    <p>2、每个ID每天最多只可以玩<span class="play-count">-</span>次。</p>
                    <p>3、玩家获得的奖品在60秒后自动加入到游戏帐户中。</p>
                    <br>
                    <p><b>活动奖品:</b></p>
                    <div id="rule-rewards"></div> -->

                </div>
            </div>
        </div>
        <div class="rule-start hidden"></div>
        <div class="rule-rewards"></div>
    </div>

    <div class="reward-wrapper none">
        <div class="reward-title">
            <span>恭喜你获奖</span>
        </div>
        <div class="reward-content">
            <div class="reward-content-deco"></div>
            <div class="head-img"></div>
            <div class="reward-redpacket"></div>
            <p class="reward-name">我是奖品名称</p>
            <div class="reward-get"></div>
        </div>
        <div class="home-btn"><span class="ico-home sprite"></span></div>
    </div>

    <div class="register-wrapper none">
        <div class="home-btn"><span class="ico-home sprite"></span></div>
        <div class="register-container">
            <div class="editbox-wrapper">
                <div class="editbox name">
                    <div class="editbox-ico"><span class="ico-name sprite"></span></div>
                    <div class="editbox-content">
                        <input id="register-name" name="name" type="text" title="" placeholder="请输入您的姓名">
                    </div>

                </div>
                <div class="test-name">
                    <span class="hidden">* 名字不能为空</span>
                </div>
                <div class="editbox mobile">
                    <div class="editbox-ico"><span class="ico-mobile sprite"></span></div>
                    <div class="editbox-content">
                        <input id="register-mobile" name="name" type="text" title="" placeholder="请输入您的手机号">
                    </div>
                </div>
                <div class="test-mobile">
                    <span class="hidden">* 手机号码不正确</span>
                </div>
                <div class="editbox verify">
                    <div class="verify-left">
                        <div class="editbox-ico"><span class="ico-verify sprite"></span></div>
                        <div class="editbox-content">
                            <input id="register-verify" type="text" title="" placeholder="输入验证码">
                        </div>
                    </div>
                    <div class="verify-right">
                        <img id="verify-img">
                    </div>
                </div>
                <div class="test-verify">
                    <span class="verify hidden">* 验证码错误</span>
                    <span class="fresh"><span class="ico-fresh sprite"></span>刷新</span>
                </div>
            </div>

            <div class="register-submit"></div>

        </div>
    </div>

    <div class="success-wrapper none">
        <div class="success-content">
            <div class="success-image"></div>
            <div class="success-tjcg"></div>
        </div>
        <div class="success-query"></div>
        <div class="success-share"></div>
        <div class="home-btn"><span class="ico-home sprite"></span></div>
    </div>

    <div class="lose-wrapper none">
        <div class="lose-content">
            <div class="lose-image"></div>
            <div class="lose-yxjs"></div>
        </div>
        <p class="play-chance none">还有<span class="chance-count">99</span>次机会</p>
        <div class="lose-again"></div>
        <div class="lose-share"></div>
        <div class="home-btn"><span class="ico-home sprite"></span></div>
    </div>

    <div class="share-wrapper none">
        <div class="share-top">
            <img src="/Public/images/RedPacket/redpacket/img_handler.png">
        </div>
        <div class="share-bottom">
            <img src="/Public/images/RedPacket/redpacket/img_fx.png">
        </div>
    </div>

    <script>
        document.ccConfig = {
            "debugMode"     : 0,
            "frameRate"     : 60,
            "id"            : "gameCanvas",
            "renderMode"    : 1,
            "showFPS"       : false,
            "jsList"        : [
                "/Public/js/RedPacket/redpacket/resource.js"
                ,"/Public/js/RedPacket/redpacket/game.js?v=5"
            ]
        };
    </script>

    <canvas id="gameCanvas" width="414" height="736"></canvas>
    <script type="text/javascript" src="/Public/js/cocos2d-js-v3.13-lite.min.js" charset="UTF-8"></script>
    <!--<script src="libs/zepto.min.js"></script>-->
    <script src="/Public/js/zepto.min.js"></script>
    <script src="/Public/js/callbacks.js"></script>
    <script src="/Public/js/deferred.js"></script>
    <script>
        var share_able = <?php echo $share_able?>;
    </script>
    <!--<script src="//cdnjs.cloudflare.com/ajax/libs/less.js/2.5.3/less.min.js"></script>-->
    <!--<script src="libs/less.js"></script>-->
    <!--common of all js file-->
    <script src="/Public/js/RedPacket/common.js"></script>
    <!--<script src="libs/touch.js"></script>-->
    <script src="/Public/js/touch.js"></script>
    <!--add self scrip file-->
    <script src="/Public/js/RedPacket/redpacket.js?v=9"></script>
    <script src="/Public/js/common/baidutongji.js"></script>
</body>
</html>